/**
 * Created by 55456 on 2016/4/10.
 */
var url = require("url");
var autoPrefix = function (url){
    return "/api/token/" + reduceError(url);
};

function reduceError(url) {
        return url.indexOf("/") === 0 ? url.substr(1,url.length - 1) : url;
}


module.exports = {
    StoryListReturnStrLength:30,
    h5Url: "http://139.129.131.240:3000/article/",
    autoPrefix,
    access_id:"",
    secret_key:""
};